import Layout from '@/layout'

export default{
    path: '/employees',
    component:Layout,
    children:[
      {
        path:'',
        name:'employees',
        component: () => import('@/views/employees/employees.vue'),
        meta: { title: '员工管理', icon: 'table' }
      },
      {
        hidden:true,
        path:'detail/:id', // 路径参数需要用形参:id来接收路径参数
        name:'detail',
        component: () => import('@/views/employees/detail.vue')
      }
    ]
    
}